home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / help / ERRORS < prev    next >
Text File  |  1994-04-25  |  1KB  |  36 lines

  1. ERROR:
  2.  
  3.     When an error occurs during an RLaB session, it can be classed
  4.     as one of two types. Either a parse error, or a run-time
  5.     error. We will discuss both below.
  6.  
  7.     All error messages attempt to provide both file and line
  8.     number information to help locate the error; unless the error
  9.     occurs at the command line.
  10.  
  11.     Parse errors:
  12.  
  13.     A parse error is an error that occurs while RLaB is converting
  14.     an expression to it's compiled form. Each statement that is
  15.     typed at the command line prompt, or read from a file, is
  16.     compiled, and then executed. If the error occurs during this
  17.     conversion, the error message is predicated with the string
  18.     "parse error". 
  19.  
  20.     The line number information is exact when parse errors
  21.     occur. However, the token identified as the offender may not
  22.     be the problem. In many instance it is difficult for the
  23.     parser to tell what was intended, and it's guess at the
  24.     offending token are not always correct.
  25.  
  26.     Run-time errors:
  27.  
  28.     A run-time error is any error that is not a parse error.
  29.     Run-time errors occur during execution of the compiled
  30.     statements. Run time error messages are predicated with the
  31.     name of the executing program; usually "rlab". 
  32.  
  33.     The line number information is not always exact when run-time
  34.     errors occur. If you cannot find anything wrong with the
  35.     identified line, the look above, or below, one or two lines.
  36.